package com.david.model.api;

public class Response<T> {
    /// <summary>
    /// 返回结果
    /// </summary>
    public Boolean results;
    /// <summary>
    /// 返回码
    /// </summary>
    public int code=0;
    /// <summary>
    /// 返回码描述
    /// </summary>
    public String msg;
    /// <summary>
    /// 明细返回码
    /// </summary>
    public String sub_code;

    /// <summary>
    /// 明细返回码描述
    /// </summary>
    public String sub_msg;
    /// <summary>
    /// 数据
    /// </summary>
    public T data;

    public Boolean getResults() {
        return results;
    }

    public void setResults(Boolean results) {
        this.results = results;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getSub_code() {
        return sub_code;
    }

    public void setSub_code(String sub_code) {
        this.sub_code = sub_code;
    }

    public String getSub_msg() {
        return sub_msg;
    }

    public void setSub_msg(String sub_msg) {
        this.sub_msg = sub_msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
